package com.shyroke.service.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.shyroke.entity.UserRoleKey;
import com.shyroke.mapper.UserRoleMapper;
import com.shyroke.service.UserRoleServiceI;

@Service
public class UserRoleServiceImpl implements UserRoleServiceI {

	@Autowired
	private UserRoleMapper userRoleMapper;
	
	@Override
	public void deleteByUserRole(UserRoleKey userRole) {
		userRoleMapper.deleteByPrimaryKey(userRole);
	}

}
